package com.ruoyi.wisdom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 发布广告对象 fz_service_advertisement
 * 
 * @author ruoyi
 * @date 2020-03-05
 */
public class FzServiceAdvertisement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private String adId;

    /** 小区id */
    @Excel(name = "小区id")
    private String cId;

    /** 广告名字 */
    @Excel(name = "广告名字")
    private String adName;

    /** 广告类型 */
    @Excel(name = "广告类型")
    private Integer adType;

    /** 投放机器类型 */
    @Excel(name = "投放机器类型")
    private Integer putType;

    /** 投放位置 */
    @Excel(name = "投放位置")
    private Integer positionType;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private String floorId;

    /** $column.columnComment */
    @Excel(name = "楼栋id")
    private String unitId;

    /** 播放顺序 */
    @Excel(name = "播放顺序")
    private Integer sort;

    /** 播放方式 */
    @Excel(name = "播放方式")
    private Integer modeType;

    /** 广告文件路径 */
    @Excel(name = "广告文件路径")
    private String fileUrl;

    /** $column.columnComment */
    @Excel(name = "广告文件路径", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** $column.columnComment */
    @Excel(name = "广告文件路径", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createName;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateName;

    /** 数据状态，详细参考c_status表，0, 在用 1失效 */
    @Excel(name = "数据状态，详细参考c_status表，0, 在用 1失效")
    private String statusCd;

    public void setAdId(String adId) 
    {
        this.adId = adId;
    }

    public String getAdId() 
    {
        return adId;
    }
    public void setcId(String cId) 
    {
        this.cId = cId;
    }

    public String getcId() 
    {
        return cId;
    }
    public void setAdName(String adName) 
    {
        this.adName = adName;
    }

    public String getAdName() 
    {
        return adName;
    }
    public void setAdType(Integer adType) 
    {
        this.adType = adType;
    }

    public Integer getAdType() 
    {
        return adType;
    }
    public void setPutType(Integer putType) 
    {
        this.putType = putType;
    }

    public Integer getPutType() 
    {
        return putType;
    }
    public void setPositionType(Integer positionType) 
    {
        this.positionType = positionType;
    }

    public Integer getPositionType() 
    {
        return positionType;
    }
    public void setFloorId(String floorId) 
    {
        this.floorId = floorId;
    }

    public String getFloorId() 
    {
        return floorId;
    }
    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setModeType(Integer modeType) 
    {
        this.modeType = modeType;
    }

    public Integer getModeType() 
    {
        return modeType;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adId", getAdId())
            .append("cId", getcId())
            .append("adName", getAdName())
            .append("adType", getAdType())
            .append("putType", getPutType())
            .append("positionType", getPositionType())
            .append("floorId", getFloorId())
            .append("unitId", getUnitId())
            .append("sort", getSort())
            .append("modeType", getModeType())
            .append("fileUrl", getFileUrl())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createName", getCreateName())
            .append("updateTime", getUpdateTime())
            .append("updateName", getUpdateName())
            .append("statusCd", getStatusCd())
            .toString();
    }
}
